Welcome![Sign In][Sign Up]
Location:
Search - java guessing ga

Search list

[JSP/Javagame

Description: java 竞猜数字小游戏, 在0-100中猜测正确数字,成功显示图片-java number guessing game, guessing the correct numbers in the 0-100 in the successful display pictures
Platform: | Size: 1104896 | Author: 张晓君 | Hits:

[JSP/JavaGuessinggame

Description: 猜数字游戏 1.实验目的 使用if…else和循环语句解决问题。 2.实验要求 编写一个Java应用程序,实现以下功能: (1)程序随机产生一个1~100间的整数; (2)用户在输入对话框中输入自己的猜数; (3)程序根据用户猜测的数,给出提示信息,分别是:“猜大了”、“猜小了”和“猜对了”; (4)如果用户没猜对,可根据提示信息再次输入数,直到猜对为止。 -Guessing game 1. Purpose of the experiment using the if ... else statements and loops to solve the problem. 2. Experiments required to write a Java application, to achieve the following functions: (1) program to generate a random integer from 1 to 100 (2) user input dialog box, enter your own guessing (3) program the user to guess the number of given prompts, namely: " guess big" , " guess smaller" and " guessed it" (4) If the user did not guess right, can re-enter the number of reminder, until the guess on the up.
Platform: | Size: 2048 | Author: 覃翠娟 | Hits:

CodeBus www.codebus.net